Optimal. Leaf size=43 \[ -\frac {2-3 x}{20 \left (2+4 x-3 x^2\right )}-\frac {3 \tanh ^{-1}\left (\frac {2-3 x}{\sqrt {10}}\right )}{20 \sqrt {10}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 43, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {628, 632, 212}
\begin {gather*} -\frac {2-3 x}{20 \left (-3 x^2+4 x+2\right )}-\frac {3 \tanh ^{-1}\left (\frac {2-3 x}{\sqrt {10}}\right )}{20 \sqrt {10}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 628
Rule 632
Rubi steps
\begin {align*} \int \frac {1}{\left (2+4 x-3 x^2\right )^2} \, dx &=-\frac {2-3 x}{20 \left (2+4 x-3 x^2\right )}+\frac {3}{20} \int \frac {1}{2+4 x-3 x^2} \, dx\\ &=-\frac {2-3 x}{20 \left (2+4 x-3 x^2\right )}-\frac {3}{10} \text {Subst}\left (\int \frac {1}{40-x^2} \, dx,x,4-6 x\right )\\ &=-\frac {2-3 x}{20 \left (2+4 x-3 x^2\right )}-\frac {3 \tanh ^{-1}\left (\frac {2-3 x}{\sqrt {10}}\right )}{20 \sqrt {10}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 62, normalized size = 1.44 \begin {gather*} \frac {2-3 x}{20 \left (-2-4 x+3 x^2\right )}-\frac {3 \log \left (2+\sqrt {10}-3 x\right )}{40 \sqrt {10}}+\frac {3 \log \left (-2+\sqrt {10}+3 x\right )}{40 \sqrt {10}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.56, size = 37, normalized size = 0.86
method | result | size |
default | \(-\frac {6 x -4}{40 \left (3 x^{2}-4 x -2\right )}+\frac {3 \sqrt {10}\, \arctanh \left (\frac {\left (6 x -4\right ) \sqrt {10}}{20}\right )}{200}\) | \(37\) |
risch | \(\frac {-\frac {x}{20}+\frac {1}{30}}{x^{2}-\frac {4}{3} x -\frac {2}{3}}+\frac {3 \sqrt {10}\, \ln \left (3 x -2+\sqrt {10}\right )}{400}-\frac {3 \sqrt {10}\, \ln \left (3 x -2-\sqrt {10}\right )}{400}\) | \(48\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.49, size = 47, normalized size = 1.09 \begin {gather*} -\frac {3}{400} \, \sqrt {10} \log \left (\frac {3 \, x - \sqrt {10} - 2}{3 \, x + \sqrt {10} - 2}\right ) - \frac {3 \, x - 2}{20 \, {\left (3 \, x^{2} - 4 \, x - 2\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.71, size = 68, normalized size = 1.58 \begin {gather*} \frac {3 \, \sqrt {10} {\left (3 \, x^{2} - 4 \, x - 2\right )} \log \left (\frac {9 \, x^{2} + 2 \, \sqrt {10} {\left (3 \, x - 2\right )} - 12 \, x + 14}{3 \, x^{2} - 4 \, x - 2}\right ) - 60 \, x + 40}{400 \, {\left (3 \, x^{2} - 4 \, x - 2\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.07, size = 58, normalized size = 1.35 \begin {gather*} \frac {2 - 3 x}{60 x^{2} - 80 x - 40} + \frac {3 \sqrt {10} \log {\left (x - \frac {2}{3} + \frac {\sqrt {10}}{3} \right )}}{400} - \frac {3 \sqrt {10} \log {\left (x - \frac {\sqrt {10}}{3} - \frac {2}{3} \right )}}{400} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.64, size = 51, normalized size = 1.19 \begin {gather*} -\frac {3}{400} \, \sqrt {10} \log \left (\frac {{\left | 6 \, x - 2 \, \sqrt {10} - 4 \right |}}{{\left | 6 \, x + 2 \, \sqrt {10} - 4 \right |}}\right ) - \frac {3 \, x - 2}{20 \, {\left (3 \, x^{2} - 4 \, x - 2\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.16, size = 34, normalized size = 0.79 \begin {gather*} \frac {3\,\sqrt {10}\,\mathrm {atanh}\left (\sqrt {10}\,\left (\frac {3\,x}{10}-\frac {1}{5}\right )\right )}{200}+\frac {\frac {x}{20}-\frac {1}{30}}{-x^2+\frac {4\,x}{3}+\frac {2}{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________